Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce forceRender param #1901

Merged
merged 3 commits into from
Sep 8, 2023
Merged

Conversation

VadimKovalenkoSNF
Copy link
Collaborator

Create forceRender param to CLI, this is an enhancement for #1887

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Patch coverage: 61.97% and project coverage change: -0.02% ⚠️

Comparison is base (7174801) 71.70% compared to head (9237475) 71.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1901      +/-   ##
==========================================
- Coverage   71.70%   71.68%   -0.02%     
==========================================
  Files          33       33              
  Lines        2774     2801      +27     
  Branches      614      625      +11     
==========================================
+ Hits         1989     2008      +19     
- Misses        671      680       +9     
+ Partials      114      113       -1     
Files Changed Coverage Δ
src/mwoffliner.lib.ts 72.52% <13.33%> (-1.08%) ⬇️
src/Downloader.ts 59.16% <52.38%> (-0.70%) ⬇️
src/renderers/abstract.renderer.ts 87.16% <86.66%> (+0.10%) ⬆️
src/util/saveArticles.ts 73.00% <100.00%> (+0.41%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@VadimKovalenkoSNF VadimKovalenkoSNF marked this pull request as ready for review September 6, 2023 09:54
@kelson42
Copy link
Collaborator

kelson42 commented Sep 6, 2023

@VadimKovalenkoSNF Thank you, please fix codefactor so I can merge.

@VadimKovalenkoSNF
Copy link
Collaborator Author

please fix codefactor so I can merge.

Done

Copy link
Collaborator

@kelson42 kelson42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few questions still open my side

src/Downloader.ts Outdated Show resolved Hide resolved
src/util/saveArticles.ts Outdated Show resolved Hide resolved
) {
DU.deleteNode(section)
}
// Mobile view === details
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we not move this (remove empty sections) in the renders code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this moved to the abstract renderer now after rebasing on top of recent changes with #1886

src/util/saveArticles.ts Outdated Show resolved Hide resolved
@kelson42
Copy link
Collaborator

kelson42 commented Sep 7, 2023

@VadimKovalenkoSNF A rebase (with conflict fixing) will be needed here

Copy link
Collaborator

@kelson42 kelson42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kelson42 kelson42 merged commit 2c5553b into main Sep 8, 2023
5 of 6 checks passed
@kelson42 kelson42 deleted the 1898-introduce-forceRender-param branch September 8, 2023 12:10
@kelson42 kelson42 mentioned this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants